import request from '@/utils/request'

import axios from 'axios'
import { ROOT } from './config'

export function fetchList1() {
  const url = `${ROOT}/testContent`;
  return axios
    .get(url)
    .then(res => {
      return Promise.resolve(res)
    })
    .catch(error => {
      console.log(error)
    })
}
export function fetchList() {
  return request({
    url: '/testContent', 
    method: 'get'
  })
}


